package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ThemeCatalog;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface ThemeCatalogMapper {
    //删
    int deleteByPrimaryKey(Integer id);

    //增
    int insert(ThemeCatalog record);

    //查单
    ThemeCatalog selectByPrimaryKey(Integer id);

    //查所有
    List<ThemeCatalog> selectAll();

    //改
    int updateByPrimaryKey(ThemeCatalog record);

    //分页
    List<ThemeCatalog> selectForList(QueryObject qo);
}